/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package functionalEnrichment.semanticSimilarity.semanticSimilarityCalculator.method;

import functionalEnrichment.semanticSimilarity.semanticSimilarityCalculator.units.AnnotatedGene;

/**
 * Controls the actions of the implementing classes
 * @author jamiemacpherson
 */
public interface SemanticSimilarityMeasure {

    /**
     * The method should return the semantic similarity value between the two genes
     * @param gene1 the first of the two genes.
     * @param gene2 the second of the two genes.
     * @return the value of the semantic similarity by the given measure.
     */
    public Number getSimilarity(AnnotatedGene gene1, AnnotatedGene gene2);

}
